import { createRouter, createWebHistory } from 'vue-router'
const routes = [
  //登录
  {
    path: '/',
    name: 'Login',
    component: () => import('../views/Login/Login.vue')
  },
   //注册
  {
    path: '/reacti',
    name: 'reacti',
    component: () => import('../views/Login/reacti.vue')
  },
  {
    path: '/about',
    name: 'About',
    component: () => import('../views/About.vue')
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
